home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
Apps
/
ScreenSavers
/
darken
/
missing.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-12
|
1KB
|
52 lines
/*
* missing.h -- NeXTStep 2.1 header information missing from NeXTStep 3.0
*/
/*
* brightness register -- NS 2.1 <next/scr.h>
*/
#define BRIGHT_MAX 0x3d
#define BRIGHT_MIN 0x00
/*
* Non-volatile RAM (NVRAM) information structure -- NS 2.1 <mon/nvram.h>
*/
struct nvram_info {
#define NI_RESET 9
u_int ni_reset : 4,
#define SCC_ALT_CONS 0x08000000
ni_alt_cons : 1,
#define ALLOW_EJECT 0x04000000
ni_allow_eject : 1,
ni_vol_r : 6,
ni_brightness : 6,
#define HW_PWD 0x6
ni_hw_pwd : 4,
ni_vol_l : 6,
ni_spkren : 1,
ni_lowpass : 1,
#define BOOT_ANY 0x00000002
ni_boot_any : 1,
#define ANY_CMD 0x00000001
ni_any_cmd : 1;
#define NVRAM_HW_PASSWD 6
u_char ni_ep[NVRAM_HW_PASSWD];
#define ni_enetaddr ni_ep
#define ni_hw_passwd ni_ep
u_short ni_simm; /* 4 SIMMs, 4 bits per SIMM */
char ni_adobe[2];
u_char ni_pot[3];
u_char ni_new_clock_chip : 1,
ni_auto_poweron : 1,
ni_use_console_slot : 1, /* Console slot was set by user. */
ni_console_slot : 2, /* Preferred console dev slot>>1 */
ni_use_parity_mem : 1, /* Use parity RAM if available? */
: 2;
#define NVRAM_BOOTCMD 12
char ni_bootcmd[NVRAM_BOOTCMD];
u_short ni_cksum;
};